﻿import request from '@/utils/request';
// list
export const xuekejingsaiList = (params) => {
    return request({
        url: '/xuekejingsai/page',
        method: 'post',
        data: params,
    })
};
export const xuekejingsaiDetail = (id) => {
    return request({
        url: '/xuekejingsai/'+id,
        method: 'get',
    })
};
// add
export const xuekejingsaiSave = (params) => {
    return request({
        url: '/xuekejingsai',
        method: 'post',
        data: params,
    })
};
// updt
export const xuekejingsaiEdit = (params) => {
    return request({
        url: '/xuekejingsai',
        method: 'put',
        data: params,
    })
};
// delete
export const xuekejingsaiDelete = (id) => {
    return request({
        url: '/xuekejingsai/'+id,
        method: 'delete',
    })
};
// pldel
export const xuekejingsaiDeleteList = (xuekejingsais) => {
    return request({
        url: '/xuekejingsai/deleteList',
        data:{list:xuekejingsais},
        method: 'post',
    })
};
// all
export const xuekejingsaiAllList = () => {
    return request({
        url: '/xuekejingsai',
        method: 'get',
    })
};

